package com.tencent.qf.user.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 关键信息变更表
 * @TableName t_iris_user_change_log
 */
@TableName(value ="t_iris_user_change_log")
@Data
public class IrisUserChangeLog implements Serializable {
    /**
     * 主键
     */

    private Long id;


    private String uid;

    /**
     * 业务类型
     */
    @TableField(value = "biz_type")
    private Integer bizType;

    /**
     * 当前信息
     */
    @TableField(value = "info")
    private String info;

    /**
     * 变更前信息
     */
    @TableField(value = "last_info")
    private String lastInfo;

    /**
     * 变更原因
     */
    @TableField(value = "reason")
    private String reason;

    /**
     * 扩展字段
     */
    @TableField(value = "ext")
    private String ext;

    /**
     * 操作人uid,系统触发为SYSTEM
     */
    @TableField(value = "operator_uid")
    private String operatorUid;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 分库分表键
     */
    @TableField(value = "sharding_id")
    private Integer shardingId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}